package com.itheima.shop.decorator_review;

import com.itheima.shop.domain.Order;

/**
 * @program: design
 * @description:
 * @author: zhanghz001
 * @create: 2021-02-27 15:49
 **/
public class DecoratorReview implements MoneySumReview {
    private MoneySumReview moneySumReview;
    
    public void setMoneySumReview(MoneySumReview moneySumReview) {
        this.moneySumReview = moneySumReview;
    }
    
    @Override
    public void sum(Order order) {
        moneySumReview.sum(order);
    }
}
